Skip to content

fix(setup): preserve hook file paths in monorepos - #283

Merged
chenjiahan merged 2 commits into
mainfrom
chenjiahan/fix-hook-file-arguments
Aug 10, 2026
Merged

fix(setup): preserve hook file paths in monorepos#283
chenjiahan merged 2 commits into
mainfrom
chenjiahan/fix-hook-file-arguments

Conversation

@chenjiahan

@chenjiahan chenjiahan commented Aug 10, 2026

Copy link
Copy Markdown
Member

This PR fixes message hooks in nested Rstack projects after the dispatcher switches to the owning project directory. Relative commit message paths passed by Git are now resolved against the repository root before the working directory changes, while absolute paths and additional hook arguments are preserved. Runtime coverage includes applypatch-msg, commit-msg, and prepare-commit-msg.

Related Links

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 10, 2026

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3522914
Status: ✅  Deploy successful!
Preview URL: https://52b17149.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-fix-hook-file-arg.rstack-cli.pages.dev

View logs

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 35229142d1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/rstack/src/setup/hooks.ts
@chenjiahan
chenjiahan merged commit 2719f29 into main Aug 10, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/fix-hook-file-arguments branch August 10, 2026 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant